user added with login and logout