added post creation in db