Authentication  tips. Logic and other