added a user system with login and logout capabilities