add unique constraint to users.name and users.email
update view layout