Changed redirection to the edit profile page