fixed incorrect comparison in 'user' call