Restucturing templates so reuse part for 404