nodejs project using elasticsearch backend for authentication