rednder controller and header directly