Bug fixing. Authentication was null