Fairly extensive documentation on the topics of authentication, authorization, and the Friend library.
oops