Added firebase base code