Make location URL extension method use the request
Extract location routes into methods