(1)update rails 4.0.1 to 4.0.2 (2)add send mail function when user registered success