Use securerandom to generate secret_key_base
fix duplicate migration issue