Updated security session configuration. Added session creation SQL query. Documentation updated.