storing location data in database (hopefully)