Example from class plus some additional methods for P2
Post controller plus methods for search, add, edit, like, follow, view...