Improved error message to SQL exceptions
Improved exception message to register page