Added event-hooking code for blocking users and IPs. Added a handler