better login logic when no courses in system