Study discovers link between internet use and dementia