removing slashes from session routes