allow register before redirect task