Five people injured in accident