Database working, trying to validate