use base_url to get validate address
Merge pull request #4 from stuartf/base_url

use base_url to get validate address