adding the foldable resources and javascript.
hide the editing form for not logged in users.