added basic authenticate to the console