Updated sessions table to use session as primary key