Fix registration web request code return and more errors created