Trying to get the database to play nice
Fixed callback parameter problem causing userProvider to be undefined in newClient