add user classes; build authentication methods; general refinements