Crude input and output stream logging, login & logout