make session available for various resources