Changed configurations for session and database