Add example script to demonstrate logging in