Added rouest to check if user is logged in and return user information