Added username and unique index for the user table