Update initial.js
Implemented the getEventList and getUserList functions