changed link clicks to go to the metalink page if they are logged in and redirect to the real page if they are not