fixing login thingy