updated PatientActivity to clear settings when user logs out