update login logout buttons