Hiding edit buttons etc. from unauthenticated users