Added ability to get and use the user's location.