added sessions table updated DBManager functions