Added check to see if verification exists code exists before running verification code and also returns false if it doesn't exist so 404 page can be displayed