Started work on the session handler.