Adding User model and related functionality