Handles errors from grabUserData(), returning an object with the data or redirecting to login if user is nonexistent.
UserData object.
Handles errors from grabUserData(), returning an object with the data or redirecting to login if user is nonexistent.