prevent calls to firebase before location is retrieved from server