[Server] Introduced general error handler
[Server] Requiring users to exist in the database