update link to login and register page