Legal and Ethical Issues with Technology in Mental Health