Constraints for user and contact