fixed the edit profile, by passing handle in the session.