T004 authentificate user with db storage

Then i'll should keep logic for generating hash another place. But i think it's place is here. And thus as password field keep no pass but hash - setPassword should set hash. And i want to keep ability set password as string