Added some more validation to the profile form. Can save a profile now.