Fix bug in username changing