use sessionManager to clarify the object type
use sessionManager to clarify the object type, also removed redundant cleanup code
call destroy with correct scope
using sessioManager