Updating, posting and writing posts is now fully functional. I might want to do something about the security. Also added some login checks to prevent private posts from displaying to normal users