set user location mechanism