Adding Document controller