Added user#generate_api_key