created posts_controller to handle answers and questions