Added documentation to various libraries
Added user.js lib for user events exports user