changed the structure checking users