started to move user model into exporter pattern. added test/user.js