refactor current_user. Depend on rails-i18n only in production: hosts will need to include it themselves if they want it.