fix login size #8

Fix pseudo length check