modified session access
added base