Add login/location download support for Rails