edited routes to pass query string through link to