Adds routes
Adds index to post route