Reorg to support admin accounts (start of #12). Management pages now
reactively update when logging in and out (fixes #27).