Add api key generation to admin panel