modified how Dashboard Page is created