Setting devise config for Rails4
Keeping key private with code taken from public GitHub repo.