Add redirect backend functionality