added rules to users model