added devise & config file changes