The role of social security in an economy with asymmetric information and financial intermediaries