WIP: put in-progress loginfs code in place