Make login/logout buttons show up appropriately