added users and login/logout