addUser method fixed