create wrapper function for input

FilterInput should be used with all input into the database, but be
careful that it never gets called on the same string more than once.