Moved login system to SGame