Added comment to function call in authentication function