Added email confirmation and password reset