add elasticsearch controller