Adding configuration for sessions.