Fix for player logout- additional work.