getlocation redirected to showlocation