Fixed bug on email and delete register class