Changed user active to boolean from int