register location in DB when it connects