added exests api controller method