Add posts api and list post messages