working to retrieve logged in user data