Adds SQL injection prevention to user model