fixed the bugs of empty programs for teacher logins
fixed bugs of empty programs for teacher logins
Merge pull request #2 from yifange/yifan/staff-login

Yifan/staff login