Now reads hash from database