[sql] loginstats <name|uid> cmd added