added user model and foundation