Creates user using elasticsearch