update login and panel.php