fixed username does not exist issue on login