finished databases accessors for location and user