hadiwij2, jzhou31: add logic to promote user