Database added but is not integrated with app