add user_details moethod to user model