Getting keys from server