posts controller and routes added