Add save data function in server form