[yanan] refactor the user's userinfo/login/logout module and fix several bugs, add the limitation that user cannot logout when offline