add devise method to the main page.
add i18n to app.