Added filter_var() for login script per Ch. 13 Pursue Exercise