Q:

Menu Item Customization for Google Identity Toolkit (Python)

I've been trying to incorporate gitkit login into our web application's (python + GAE) existing login system and UI layout so have been looking for ways to customize away from the default sign-in button and signed-in menu format
I've seen a couple of posts that mention this is now implemented but haven't seen any docs or detailed discussions on the latest capabilities / examples
Would anyone have any sample code or references that can show me the extent of the customization possible? I've read comments that changing the menu items is possible but no docs.. is it also possible to create our own buttons and break away from the default dropdown? i.e. an independent sign out button, maybe using widget?mode=logout.. 
Any ideas would be very helpful!
Have been referencing the following discussions:

Could we add our menu items in Gitkit Starter kit "Sign In cum User Info " ( #navbar )? 
https://groups.google.com/forum/?hl=de#!topic/google-identity-toolkit/gft_j55DUFg

A:

From Jin Liu: Code sample has been given in the answer to the first discussion you referred stackoverflow.com/questions/31540583/….
And from bojeil:
You have to specify the sign out url in config for sign out to work. 
You can also set the config fields via google.identitytoolkit.setConfig({signOutUrl: '/', widgetUrl: '...', ...}); You will be able to call sign out directly: google.identitytoolkit.signOut() 

