Now creating a session table entry and a session cookie.