update a spring security to check the user for editing the event