Fix redirect login register