Fixed exception when adding new user