Updated to use authorization