Token redirects to the correct page