Complete function: prevent user from concurrent login
Merge branch 'master' of https://github.com/duncan-wong/CTSys.git