Added require models in server.js.
Created user model