fixed the edit profile page; everything but changing email works