server and crypto api added