better error handling on sign up page