Ah, ok. But isn't it possible to use single div for both situations (logged in, not logged in), click event handler then should be toggled.