adding methods for the post service