fixed adding database for user (problem: incorrect type supplied to function is_object_valid)
Merge pull request #67 from Magentron/fix-add-database

Unable to add database for user (Error: localhost not exist)