changed url to the functional server (rather than a local test
address). Also some cosmetic changes