added ajax sends location to database