Started to work on error handling when creating user in the SQL database