added links to navbar, and finished tests for post controller