fix register.php and link bar