fix username ascii login error and login no back to register page