session can be reseted now.
test resendrequest separately
bug fix