update user model to include has_many :events, dependant: :destroy