added before controller functions in /config/initializers/