logged user on errors