finally created a working edit profile page