added helper classes and DBHandler for the user model