adding trailing slash to route