fixed not deleting old token
get URI from config file