Some changes towards the whitelist feature
Listen for different types of requests

Now checks for the difference between an image and anything else.