toggling between form and logged out displays