trying to add a post route and send the data to the index route