cas module fixed for logout