Api profile

functional call to api page, returns data into template
WHAT THE RANDOM WHITESPACE!?