Better error handling
creates ban_log if does not exist