Fixed wrong include path
Clarified comment
Moved authentication to a separate class