added logging tables, added user columns for pass reset