Finially getting loggedInUser correctly