adds authenticate:true to states