close only if session is authenticated by logdb login