Revert to old commit
got database to work