Edited generate admin protocal