Implement the session task