try to write a user data manager