Use lower case table names
Updated destruction of expired sessions