add loginfor in controller and in class ctcshell