Removed unused static function of authentication service