redirect to welcome page when trying to go to page details or edit page when nothing selected