changed the post route to the homepage