reimplementing firebase deletion systm for heroku server