Moved session from kernel to Activity. In all activities session can be found using self.session.