Translated pending devise messages. Added helper function to show flash messages