Changed all persist functions to form post