Api profile

functional call to api page, returns data into template
Take out console.log