can now add a new post, but methods in posts controller not working
split views into templates and used directives to pull them into the main view
can delete posts