Adding Edit functionalities for Student and Instructor users.