sql model changes, encrypt password