Some refactoring
Make a basic User model (including secure passwords)