make sure user has to be signed in to see edit post links