session with resources