Make url trailing slash optional