Added Login Session management.
modify a typo in errorcode (change email_not_exist to loginid_not_exist)