Revert "Revert "Hid edit links from non-logged in users.""

This reverts commit 4ba2a7ab3a538b61a9f379873ed70e569e15cff4.