rename createPost to getPost