add user register/login/logout