Remove unused file and update auth function name
Fix tests