Rename generate_api_key method to ensure_api_key so it doesn't conflict with Admin::UsersController