fix the validates bug in User model