Better error handling for the user and the admin.