Implmented welcomepage function for 404.

It will redirect to a welcome page if 404.