UserDAO, implementace a testy.