Social security net and mental health