Added method for getting user details and making requests