Issue #2624822 by chgasparoto, Lars Toomre, markdorison, anish.a, joshi.rohit100, Mile23, alexpott: Remove unused variables in user.module