username userid settings get/set, validate directory
settings serialization with json