session creation sample (madamada)