authentication method update and basic model structure implementation