Fix index route; add modal for creating a new post, but route isn't working