moved securerandom require to app main file