added unique indexes

email on users
name on groups