Added a posts controller to manage users creating new posts