added location awareness to the MainActivity