add teacherId in database and add checkmarks to CoursesDetailsViewController