Image authentication extension for devise