Added the location model to the admin.
Added a common query.