Added $token#logout method and documentation