Adding authentication to the console