created new views and added support for displaying posts