improved the method of getting user location
Merge remote-tracking branch 'origin/master'