Fix typo

- Missing '$' in front of "user" in conditional