Refactored test code
Make a basic User model (inclding secure passwords)