added user and document factories