Updated posts controller with new and create methods. Created model backed form