Better check for controller callback method and better sanitization method for input data.