terms and conditions checkbox validated for a user registration