Add session functions to scotty