fixed bugs with the same name as table col
login count works