Added server side user management
Added setEvent functionality