api key and library key control, profile function.