added examples for mysql and session handling