#931|Moved logout action in after method