Fix to user repository