Opt out for logging

Added option to the settings page to allow users to opt out of usage metric tracking.