changing heroku to firebase