implement the toggle to the login section.