Authentication and client thread work with each other, started pseduo code for reading in service file