fixing bug reported by Emma: the imsld::runtime::activity_structure::show_hide had some typo/not tested bugs when seting the isvisible attributeto true for the resources referenced by the activity structure
Added procedure to check if a user is actually registered. We should probably change auth::require_login to check if the user is registered instead of just checking for the existance of the cookie