author functionality and edit/destroy