Event manage

working foreign key in Event model