gen secret for devise