added REST controller