Now Login and Logout works!