add form updated
More authentification checks added
Delete function added
Fixed cascade deletion
Updated the forms