Update Login function to display fields and buttons.