Adds ability to create posts and view index