add test login and toggle button