Users need to be registered to allow them to be enrolled on courses. When a user visits your site you can allow them to self register by including this block on your website: