*bugfix* fix online state of user if user login or logout