fix register and login links