#19 fixed
#23 fixed
#24 fixed
#18 fixed
clear session removed