Checking course access…
Look at both the first verb and the intended meaning before choosing -ing or to + verb.