error checking on edit  profile and sign up