fixed layout rendering with adding require of session route to app js file