Finished commenting and finished most of the authentication portion.

Signed-off-by: wpenson <wade7368@gmail.com>