Implemented LGN logic.
Fixed a bug that the server crashes when multiple Users conduct login
operations from different processes.