Added redirect to teacher_student_view and teacher_add_task