some changes

passing errores via session