hide/show login button, some extra rendering for list and edit templates