Adjustments for Devise to work