Added add and delete functionality for paper and subject