add template to api main page