allowing password to be any non whitespace character in regex