Fix incorrect use of user