logic for auto-generating authors form