adding the footer image, some styles and changing the code of the layout