Trying to fix authentication error