add auth new js