Implemented x2 mode for login.