moves stuff out of layout into session new