[3207] Clean and doxygen commentary for user_check hook library.

Adding doxygen and cleaned up code for initial review submission.