Add method to get the current session.