fixes role issue when creating a user