Added a create post ajax function to landingpage.html