Added 404 page and added footer to main template