fix adding user to course
Merge remote-tracking branch 'origin/feature/registration' into feature/registration
changed the customerio import to be able to mock it easier
added unit tests for the invitation view