Sign-up and log-in error handling.