User model and controller

User model and controller