Added event triggers on control/index.js of file/post/user