IsAdmin bug fix
move codegenerator app.config to sample file