user resource_params instead of params[resource_name] for strong parameters