Logout fixed