still you could have skipped all of this and just made it a serial port. you don't need authentication if it's a serial port.