added firebase tutorial code to build on