fix loggin course system