Added php classes to assist in authenticated form submission