added edit profile functionality to user profile page