Feature #5. Fixed the create and update profile making sure the validation are working and data are saved.