added nationality and voting rights to user table. added flags