added function to manually set user to pass a course.