Made the route use the userRole and softwareRole properly.