updated form data api permissions; added some caching to reduce # of queries needed to retrieve form data.