update password length of the user model
new way to make parameters as required