Changed 'successRoute' to 'successUrl'; changed 'errorRoute' to 'errorUrl'.