added ability to do user agent checking