added unique constraint on username