auth using command line and some sort of error checking