only logged in users need the javascript