Fixed a bug with user rename