move base_controller to blog_post_controller

moved logic and specs from base_controller to blog_post_controller.