altered db schema, changed logger script to reflect changes