added API access methods for app engine