Implemented email confirmation on register.