adding ER diagram and db entries