added a create method to the post controller, started modal functionality for post completion