better login logic when no courses in system
fix
Merge branch 'devel'