full crud action for posts complete