fixed the validations on sign_in and sign_up