if session is callable, call it