fix file write permission check...
fix error handling on "/posts" endpoint
allow writing posts that do not have a date
removed extra logging