passing data through user object