Adds create post
Uses promises as we are relying on a function to set up the data when the page loads rather than when the data loads