States on Hilbert Algebras