pulled loggedIn out of the user attributes to attach to the model directly