Added user flags property to session