Added register with redirect capabilities