added an option to accept list of dictionaries as default users