Added networking code, basic non-functional login code.