Modify some tests.
Add user model and API.
User bcrypt to encrypt passwords.