added authenticate api shortcut