my $base_sql=q{SELECT username,status FROM members WHERE