The Welfare System and the Labor Market