Replace Devise to work with Rails 4