added dao realisation for User class