Added Sessions table, code needs cleaning