Fix bug where writing posts always end up with todays date
Fix bug resulting in posts being displaying in incorrect order