add post create method
add test for post create