add Devise
fix Devise bug in routes.rb