Program establishes connection and send login information to server