This fixes #4763 where adding space created duplicates
Removed blank space and used JFilterInput instead
Merge pull request #4776 from aDaneInSpain/patch-1

This fixes #4763 where adding space created duplicate users