Implemented Chapter 5 exercises
Fixed missing function used by tests
Make a basic User model (including secure passwords)