finalize login panel.