bug fix on user time out -> logout