edit profile now saves user data