added validateEmail() - a regex expression to make sure user input is correct