Added Logout Code