adding post controller and views