expose some API endpoints in the post_controller