Echo command on exit (when logout), silent option in authentication function