Added the secret key to devise.rb at the config/initializer direcrotry.