I have Ruby on Rails application for which the current authentication mechanism is Devise. Both frontend and backend are in Rails i.e we are using ERB/SLIM files. The curren