added DatabaseHasUser method to retrieve data with no errors