Monitoring mental illness with new technology