dev add index to username and not email