Removed authenticate() code block.