Custom Classes for Devise  using REST API