fixing cannot loggin