Finalised server side and client side authentication through 3rd party. Using durandal in front-end