set up redirect app