Improved confirmation and password reset