Fixed Logout Issue