I mistakenly threw out the Moves (#40) authorize code but I think this is about right