write to file data from user creation