Fixed method to login on panel.