modified controllers to display documentation properly