doing ajax call controller method