restructured session demo
removed unrequired conditions from error-handler
restructured, fixed bug in config-demo