implemented webapi controller and defined uri methods