5.7 from scratch series he has one free authorization video, that will get you started.
Also learn query scopes. See https://gist.github.com/jimgwhit/ed44a6c81815804f1ab910ce9eb88d84
Has a scope example.
Jeffrey also has paid videos on authorization, but don't know if you want to pay right now or not.