Added activated flag to user db