create admin controller for posts