add authorize generator