login and some impplementation on user_profile