creates profile attributes method for user, when update form is displayed on user profile page, register before update method