Created microposts controller.