added the api key generator for user