added user id and index, cleared all statues and users