session module finally working