Trying to fix authentication