added simple client/server w/ authentication