fix reg with exists name and add edit/del only for author