added apikey encrypting
added apikey encrypting