fixed authentication issue