got posts created in database via ajax