Implemented user model with devise.