added identity object
removed hardcoded return URL, should now work with any server