fixed unique issue, completed user switching