password support

added account support, removed the writing of output to a file as it
did not work