Move save_post cb into a function out of class, and increase unhooking and conditional checking of authentication