began adding functionaity to save the user hash info in the database