Define some API on Controller layer