Updated AuthenticationTrait, added abstract methods