Quality of life and mental illness