Update example.php

alternate way of getting login-url.