define peer and server identities