Adding index to username in db