base controller

abstract the base uri method