getting and posting from firebase now working