Make mainpage a relative link in login.php