Adding firebase as backend to store data