added jms security extra
add handleData() in AbstractApiController
tests & code style & metrix