Api profile

functional call to api page, returns data into template
take out console