managed to get user data, and store it in user object