Fix security problems in activities

Fix security problems in loads when adding, editing and deleting
activities