Refactored the back end a bit and fixed up the create post view