Implementing default error handling and email address verification