added security token file and authentication dialog