server side solution:adding footer