Added config_dir access and wrote logindb skeleton structure.