updated module, errors when authenticating user