Fixed by-pass of invalid characters for sign-up form

used array_filter(), to filter '', null, and 0 characters