add var config to fetchUser() call for db