insertion of entries has been moved to db manager