adds functions to log data from firebase
adds firebase to package.json