adds db migration, User model and some relevant tests