add config.secret_key = '-- secret key --' to devise initializer