add user register/login/logout functionality, demonstrate session message usage