fix username case sensitivty problem