users should be redirect to index page if they are trying to go to nonexist page