Fixed compilation issues, user generation works.
Admin generation works, better keybyte generation.