- fix bug when login name and user name are not the same