added script code to save user data