Prevent user to visit deleted and non-existed user's page.