implemented ban check