Refactors getUserLocations slightly to use a select query
Removes call to getDirections from getTransitTime
Fixes database call in getRoutes