Added User model and corresponding basic tests.