Add constrainst to User.groovy