Add encryption for passwords, refactor index handling, add support for ujson library