Added JSON setting capabilities, added users and registration.