update profile and change password functionality