added exception checking to ensure site doesn't crash when user enters bogus email