Added addToHosts and addToDatabase functions to BlockedHosts