Devise for user authentication and Doorkeeper for OAuth