Include the SDK's
Add event listeners for the login completed event and make a request for the users profile. Once that's loaded push it to the page.
The function called when the above form is submitted