Major refactor, removing single sign off and it's dependent methods.

Changed to use a dynamic service url to allow deep linking.