1. Fixed sending messages by email 2. Adding 404 error handler 3. Adding nginx config 4. Adding 50x handler 5. Some syntax fixes