code added in author controller to populate inputs in combo-box