added elasticsearch controller