changed key server client api calls to take args as a param instead of individual params