fixing login logout button