saves profile form properly