added validation to update profile form in acct settings