Added resource mapping in controller