added functions to test email and a url

just need to edit the flowchart, but they are simple if statements just
like the last one, but less complex