added authentication and made sure some links are not visable to regular users