added delete subject function
caution: author data structure changed