added simple example of authenticating console