Resetting function is added => now all data regardless of user's state will be removed