Added method to get to the session