solve authentication problem