Add validation to user data