adding the front-end cgi api