Created token validation, edited the master template, created edit and form files in the posts colder and fixed the links in the show action.