added pg
simple token authentication to get data from other domains
merge pg