use firebase to store ratings