complete the task of edit profile and change passowrd