changed tab buttons to use userobject
changed tabbuttons