redirect to root path when user access to invalid data