finish OK packet and error packet, finish login, without test