[NGRINDER-719] Trim the user name and id before saving into db.