showing and hiding login elements