header and footer added using rails and rendering