Added location querying from backend