Api profile

functional call to api page, returns data into template