Add player session handling, cleanup expired sessions.
Password check update, trim the string.