Add user resource with login and logout