added user location var under the method to update the user's location