Added comments to userBuffer
Moved how users are handled from main to a function in. #includes were also moved around. If they are used in both source files they reside in auth.h, otherwise they are in their respective source files.