Keep list of previous authentications + name history support

Keep a table of previous authentications so we can process them at a later date and add a way to detach names from identifiers (currently using mc names as UUIDs until conversion in a later PR)