Login and Logout working successfully