make login/logout buttons hide/show