Prepare response returns in controllers