Add examples for main session and flask app