Completed the code for the profile data upload program and the profile data upload web handler