make input fields required/emails