added activation model. updated user model. added script to add mysql event on serverside