Added security, possibility to modify an activity