page switching buttons hidden before login