removed unused function authStatus
Removed diagnostic comments