added parameter sanitation

name parameter is:
* cast to string
* trimmed

additionally lowercased when checking for existing user