added user register/login/logoff