Fixed creation of sessions table.