changes to user and userProfile