Add post deletion functionality
Catch fatal errors caused by invalid _id
Add HTTP error codes to errors