Added method to invalidate session id