trim, strip_tags, and htmlentities user's inputs