added code to check if user has gps enabled