Prevent user register closed courses.
Leave message should not been authenticate.