fixed some failing specs, refactored ban/unban