Implemented REST controller