get, post, and delete requests to firebase