fix can_edit? error when not logged in