Sanitize username inputs in the database layer