before adding user data