added encryption in api