adding posts controller and new.html