changed so only registered users can save links