Updated User model. More appropriate data types used, password hashing implemented using bcrypt. Bcrypt added as dependency for the project in package.json