Better error handling. Returns potential error from all db functions and returns appropriate http status code to the client. Removed some unused fonts