Update lib/connection.js

also return the identity url as this can be useful to 
retrieve the authenticated user's details