added user object in get classes api