login.js: fix import of students accounts
login: cosmetic change
login: correctly count the number of users
login.js: add copyright
logout.js: cosmetic changes
logout.js: add copyright
Implement safelyLogin, safelyLogout
logout: move the error case in the if
logout: return to login page in any case
Merge pull request #1 from bassosimone/devel_20140321

Patches for your development branch