create validation and user id