send & retrieve keys back from the server