Updated KeyGen to include name of the user key is associated with in key written out.