Testing user model
Fixing test.js
Made all models functions