Added auth code and example.