Inclusion Criteria:  Patients must be adults (> 18 years of age) undergoing knee or hip arthroplasty.  Patients will be ASA 1-3 undergoing elective surgery. English speaking patients with internet and computer access at home will be included.  Patients with pre-existing psychological conditions who receive either pharmaceutical or talk-based therapy will be included. Patients must meet a minimum cognitive capacity to understand the instructions for the Opioid Counseling and Pain Coping Skills presentation. This will be assessed by the administration of the Montreal Cognitive Assessment during screening (MoCA), whereby a minimum score of 18 will be required to meet inclusion into the study.  Exclusion Criteria:  Significant cognitive impairment. Chronic pain, long-term opioid therapy Renal replacement therapy Standing opioid requirements Neuropathic pain Fractures requiring emergency surgery End stage cardiac or respiratory disease Severe hepatic dysfunction, Patients with severe psychiatric disorders Vision loss Allergy to local anesthesia. Patients who refuse to consent to neuraxial anesthesia and/or peripheral nerve blocks will also be excluded.