added speech recognition endpoints and html