Added unique constraints for user