Updated DBSessionManager attribute

updated DBSessionManager attribute so it only calls closessession if
it's not a child action