method to get whole user profile