add REST controller