add account toggle button functionality