makes authentication url as optional field