Fixed db missing from User class.......................