Refine users model

- Refine users model to work with devise.