The login offline/online is handled.
Signed-off-by: Zhou Chang <achang.zhou@gmail.com>