renamed user.js to model.js and added event model
added event data