changes related to delete functionality
added functionality for delete and add student, teacher